home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5064 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.2 KB

  1. Path: swidir.switch.ch!epflnews!not-for-mail
  2. From: "Stefan Monnier" <stefan.monnier@lia.di.epfl.ch>
  3. Newsgroups: comp.lang.lisp,comp.lang.c++
  4. Subject: Re: Why garbage collection?
  5. Date: 2 Feb 1996 10:58:37 GMT
  6. Organization: Ecole Polytechnique Federale de Lausanne
  7. Message-ID: <4esqot$pcm@info.epfl.ch>
  8. References: <rvillDL4v3n.I8r@netcom.com> <4ecmfo$as9@news2.ios.com> <4ei4og$la1@info.epfl.ch> <4eqh80$c9f@news2.ios.com>
  9. NNTP-Posting-Host: liasg9.epfl.ch
  10. Originator: monnier@lia.di.epfl.ch (Stefan Monnier)
  11.  
  12. In article <4eqh80$c9f@news2.ios.com>,
  13. Vlastimil Adamovsky <vlad@gramercy.ios.com> wrote:
  14. ] Why would you need to modify the vtable. Create a pointer to your
  15. ] table and modify it as you wish. By the way, can you modify C -
  16.  
  17. But then you have the vtable pointer plus your table pointer:
  18. I call that a waste.
  19. You don't have enough access to the representation to take advantage of it.
  20. This is what I call "too high-level".
  21. The "too low-level" stuff is the fact that casts are too powerful to enable the
  22. creation of a copying GC unless you severely restrict the set of programs
  23. correctly handled.
  24.  
  25. There are probably other examples of "too high" or "too low" levels in C++
  26. (implicit calls to constructors is probably among the former)
  27.  
  28.  
  29.         Stefan
  30.